#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"

int main()
{
	szg::list<int> li;
	li.push_back(1);
	li.push_back(2);
	li.push_back(3);
	li.push_back(4);
	li.push_back(5);
	const szg::list<int> li2 = li;
	szg::list<int>::const_iterator it = li2.begin();
	while (it != li2.end())
	{
		std::cout << *it << " ";
		++it;
	}
	std::cout << std::endl;
	return 0;
}
